<el-table-column prop="name" label="分类名称" min-width="160" show-overflow-tooltip></el-table-column>
<el-table-column prop="productNum" label="商品数量" width="120" align="center">
  <template slot-scope="scope">
    <el-tag size="small" type="info">{{ scope.row.productNum || 0 }}</el-tag>
  </template>
</el-table-column>
<el-table-column prop="total" label="总计数量" width="120" align="right"></el-table-column> 